package com.wd.base.util;

import android.text.TextUtils;

import java.util.Locale;

/**
 * @author W4255
 * @version [V1.0.0.000, 2021/2/6 21:16]
 * @Description: NA
 */
public class StringUtils {
    public static boolean isEmpty(String value) {
        return null == value || 0 == value.length();
    }

    public static String str2LowerCase(String source) {
        return TextUtils.isEmpty(source) ? source : source.toLowerCase(Locale.US);
    }
}
